package main
{
	import flash.filters.ColorMatrixFilter;

	public class ClientConstants
	{
		public static const GLOBAL_FILTER_WHITE:ColorMatrixFilter = new ColorMatrixFilter([1, 0, 0, 0, 45, 0, 1, 0, 0, 45, 0, 0, 1, 0, 45, 0, 0, 0, 1, 0])
		public static const GLOBAL_FILTER_GREY:ColorMatrixFilter = new ColorMatrixFilter([0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0, 0, 0, 1, 1]);
		public static const HOME_UP_PER:Number = 0.08;
		public static const HOME_DOWN_PER:Number = 0.1;
		
		public static const COMMENT_TYPE_RESTURANT:int = 1;
		public static const COMMENT_TYPE_SCENIC_SHOP:int = 2;
		public static const COMMENT_TYPE_SPOT:int = 3;
		public static const COMMENT_TYPE_HOTEL:int = 4;
		
		public static const VISIT_TYPE_SCENIC:int = 1;
		public static const VISIT_TYPE_EATING:int = 2;
		public static const VISIT_TYPE_FUN:int = 3;
		public static const VISIT_TYPE_HOTEL:int = 4;
		
		public static var VIEWSPOT_SHOW:Boolean = true;
		
		//路线类型
		public static var PATH_TYPE_SYS:int = 1;
		public static var PATH_TYPE_SELF:int = 2;
		
//		四种详细界面
		public static const DETAIL_VIEWSPOT:int = 4;
		public static const DETAIL_EAT:int = 2;
		public static const DETAIL_SHOP:int = 1;
		public static const DETAIL_HOUSE:int = 3;
		public static const DETAIL_COLLECT:int = 5;
		
//		发送消息需要的数据
		public static var CITY_ID:String = "0631";
		public static var USER_NAME:String = "clouree2";
		
//		erro
		public static const ERROR_SUCEESS:int = 2;
		
//		当前网络模式
		public static const PIC_LOAD_YES:int = 1;
		public static const PIC_LOAD_NO:int = 2;
		public static var NET_MODE:int = 1;
//		记录滚动条位置
		public static var SLIDE_POS:Object = {};
//		版本号
		public static const VERSION_NUM:uint = 100;
		
		public static const SERVER_IP_PATH:String = "192.168.3.9:8080";
		public static const SERVER_IP:String = "192.168.3.9";
	}
}